import sys

# import PyQt4 QtCore and QtGui modules
from PyQt4.QtCore import *
from PyQt4.QtGui import *

from $Class File Name$ import $Class Name$

if __name__ == '__main__':

    # create application
    app = QApplication( sys.argv )
    app.setApplicationName( '$Project Name$' )

    # create widget
    w = $Class Name$()
    w.setWindowTitle( '$Project Name$' )
    w.show()

    # connection
    QObject.connect( app, SIGNAL( 'lastWindowClosed()' ), app, SLOT( 'quit()' ) )

    # execute application
    sys.exit( app.exec_() )
